package com.wx.entity;

import java.util.Random;

/**
 * @author Administrator
 */

public enum NotFonudMsgBack {
    ONE("what are you 弄啥了?",0),
    TWO(">- ??? -<  你说的是什么啊?",1),
    THREE("NO NO NO 我听不懂",2),
    FOUR("啊哈?难得死噶?",3),
    FIVE("........ 母鸡啊",4);

    NotFonudMsgBack(String thing, int id){
       _thing=thing;
       _id=id;
    }
    private String _thing;
    private int _id;

    public String get_thing() {
        return _thing;
    }

    public int get_id() {
        return _id;
    }
    public static String getMsg(int max){
        Random random=new Random();
        int num=random.nextInt(max);
        switch (num){
            case 0:
                return NotFonudMsgBack.ONE.get_thing();
            case 1:
                return NotFonudMsgBack.TWO.get_thing();
            case 2:
                return NotFonudMsgBack.THREE.get_thing();
            case 3:
                return NotFonudMsgBack.FOUR.get_thing();
            case 4:
                return NotFonudMsgBack.FIVE.get_thing();
        }
        return null;
    }
}

